The ColorPicker Component > FColorPicker.setValue() |
FColorPicker.setValue()
Availability
Flash Player 6.
Usage
myPicker_cp.setValue (color)
Parameters
color - The color to set as the current value of the ColorPicker
component (in 0xRRGGBB form).
Returns
Nothing.
Description
Sets the current value of the ColorPicker component.
Example
The following code makes the current value of the ColorPicker component red:
myPicker_cp.setValue(0xFF0000);
See also